QT += widgets

TEMPLATE = lib
DEFINES += GY_CONTROLLIBRARY_LIBRARY

DESTDIR=  $$PWD/../GY_TreeViewDemo/BuildFile

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    Buttons/GY_StateButton.cpp \
    DisplayWidgets/GY_Label.cpp \
    GY_ControlLibrary.cpp \
    Containers/GY_TitleWidget.cpp \
    InputWidgets/GY_TextEdit.cpp \
    ItemView/Table/GY_TableView.cpp \
    Buttons/GY_imagebutton.cpp \
    InputWidgets/GY_TextEdit/GY_emailedit.cpp \
    InputWidgets/GY_TextEdit/GY_numberedit.cpp \
    InputWidgets/GY_TextEdit/GY_passwordedit.cpp \
    InputWidgets/GY_TextEdit/GY_PhoneNumberEdit.cpp \
    ItemView/ComboBox/GY_TreeComboBox.cpp \
    ItemView/ComboBox/MY_TreeComboBoxView.cpp \
    Buttons/GY_CheckBox.cpp \
    Buttons/GY_CheckBoxGroup.cpp \
    ItemView/Tree/GY_TreeView.cpp

    Buttons/GY_IconButton.cpp


HEADERS += \
    Buttons/GY_StateButton.h \
    DisplayWidgets/GY_Label.h \
    GY_ControlLibrary_global.h \
    GY_ControlLibrary.h \
    Containers/GY_TitleWidget.h \
    InputWidgets/GY_TextEdit.h \
    ItemView/Table/GY_TableView.h \
    Buttons/GY_imagebutton.h \
    InputWidgets/GY_TextEdit/GY_emailedit.h \
    InputWidgets/GY_TextEdit/GY_numberedit.h \
    InputWidgets/GY_TextEdit/GY_passwordedit.h \
    InputWidgets/GY_TextEdit/GY_PhoneNumberEdit.h \
    ItemView/ComboBox/GY_TreeComboBox.h \
    ItemView/ComboBox/MY_TreeComboBoxView.h \
    Buttons/GY_CheckBoxGroup.h \
    Buttons/GY_CheckBox.h \
    ItemView/Tree/GY_TreeView.h

    Buttons/GY_IconButton.h

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target

FORMS += \
    Containers/GY_TitleWidget.ui \

DISTFILES += \
    ItemView/ComboBox/123.txt


